"""统计最小值和最大值"""


def get_stats(numbers):
    minimum = min(numbers)
    maximum = max(numbers)
    return minimum, maximum


lengths = [64, 62, 74, 63, 77, 71, 64, 71, 68, 65]

# 使用unpacking技术解包赋值
minium, maxium = get_stats(lengths)

print(f"Min: {minium}, Max: {maxium}")
